package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.MGlVirtualizationCluster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 虚拟化群集
 * @Author: xiaoyq
 * @Date:   2023-02-23
 * @Version: V1.0
 */
public interface MGlVirtualizationClusterMapper extends BaseMapper<MGlVirtualizationCluster> {
    /**
     * 虚拟化群集分页查询
     * @param pagelist
     * @param queryWrapper
     * @return
     */
    Page<MGlVirtualizationCluster> getPageList(Page<MGlVirtualizationCluster> pagelist, @Param("ew") QueryWrapper queryWrapper);

    /**
     * 获得满足指定条件的一条记录
     * @param queryWrapper
     * @return
     */
    MGlVirtualizationCluster selectOne(@org.apache.ibatis.annotations.Param("ew") com.baomidou.mybatisplus.core.conditions.Wrapper<MGlVirtualizationCluster> queryWrapper);

    /**
     * 获得满足指定条件的多条数据
     * @param queryWrapper
     * @return
     */
    List<MGlVirtualizationCluster> selectList(@org.apache.ibatis.annotations.Param("ew") com.baomidou.mybatisplus.core.conditions.Wrapper<MGlVirtualizationCluster> queryWrapper);

    /**
     * 获得指定id的数据项
     * @return
     */
    MGlVirtualizationCluster selectById(java.io.Serializable id);

    /**
     * 获得所有数据列表
     * @return
     */
    List<MGlVirtualizationCluster> selectAll();


    int updateMonitorStatusByIpList(@Param("monitorStatus") String monitorStatus, @Param("ipList") List<String> ipList);

}
